<?
include '../Module/newsModule.php';
$n=100;
$newModule=new newsModule();
if(isset($_REQUEST["id"]))$_SESSION["MOREID"]=$_REQUEST["id"];
$id=$_SESSION["MOREID"];
$item=$newModule->getNew($id);
if($item["image"]) $small_img=$item["image"];
if($item["small_image"]) $small_img=$item["small_image"];
$insert = new DateTime($item["insert"]);
?>
<div class="slogan">MORE</div>
<div class="box">
<h1><?=$item["title"]?></h1><br/>
<div class="scroll-pane" style="height: 380px">
<div>

<h2><?=$item["title_second"]?></h2>
<br/>
<?
if($small_img){
    ?>
        <div class="img-news" style="">
            <div class="time_block" style="position: absolute;top: 4px;left: 4px;">
                <?=date_format($insert,"d")?><br>
                <span><?=date_format($insert,"M")?></span>
            </div>
            <img src="<?=$small_img?>"/>
        </div>
        <?
}
?>
<h3><?=$item["brief"]?></h3>
<div class="clear"></div><br/>
<?
if($item["image"]){
    echo "<center><img src='".$item["image"]."' style='margin:0 auto;padding-bottom:12px'/></center>";
}
    ?>
<?=$item["content"]?>


</div>




</div>
</div>